home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d16 / winsp105.arc / INSTALL.BAT < prev    next >
DOS Batch File  |  1991-09-18  |  2KB  |  56 lines

  1. @echo off
  2. rem --- Check command line parameters
  3. if %1?==? goto syntax
  4. rem --- create directory
  5.     echo.
  6.     if not exist %1 mkdir %1
  7.     cls
  8.     echo Installing WinSpell in %1.  Wait...
  9.     copy winspell.exe %1 >nul
  10.     copy winspdll.dll %1 >nul
  11.     copy winspell.hlp %1 >nul
  12.     copy winspell.wri %1 >nul
  13.     copy full.dct     %1 >nul
  14.     copy full.ndx     %1 >nul
  15.     copy common.dct   %1 >nul
  16.     copy asc2dct.exe  %1 >nul
  17.     copy dct2asc.exe  %1 >nul
  18.     copy readme.txt   %1 >nul
  19.     goto success
  20. :syntax
  21.     cls
  22.     echo.
  23.     echo syntax:  install [d:]path
  24.     echo.
  25.     echo where d: is the drive and path is the directory path
  26.     echo in which WinSpell should be installed.  For instance,
  27.     echo if you want to install WinSpell in the directory
  28.     echo WINSPELL on drive C: the command would be:
  29.     echo.
  30.     echo install c:\winspell
  31.     echo.
  32.     echo.
  33.     goto exit
  34. :success
  35.     echo.
  36.     echo.
  37.     echo WinSpell has been installed in %1.  Please do the following:
  38.     echo.
  39.     echo   1) Check for error messages such as "Insufficient disk space".
  40.     echo     a) Fix any errors and reinstall.
  41.     echo.
  42.     echo   2) Add %1 to the PATH environmental variable in your AUTOEXEC.BAT.
  43.     echo.
  44.     echo   3) Print or View the WinSpell Documentation
  45.     echo      by typing:
  46.     echo           win %1\winspell.wri
  47.     echo.
  48.     echo   4) Place the WINSPELL.EXE program in your Program Manager.
  49.     echo.
  50.     echo   5) View the README.TXT file for important Release Notes.
  51.     echo.
  52.     echo   6) Please register this program as specified in the documentation.
  53.     echo.
  54.     echo.
  55. :exit
  56.